package com.flyco.modules.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flyco.poi.excel.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 商品认证图片
 * @Author: flyco
 * @Date:   2021-07-21
 * @Version: V1.0
 */
@Data
@TableName("pms_product_qualification_pics")
public class PmsProductQualificationPics implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
	private Long id;
	/**商品id*/
	private Long productId;
	/**图片地址*/
    @Excel(name = "图片地址", width = 15)
	private String picUrl;
	/**图片大小*/
    @Excel(name = "图片大小", width = 15)
	private String picSize;
	/**图片width*/
    @Excel(name = "图片width", width = 15)
	private String picWidth;
	/**图片height*/
    @Excel(name = "图片height", width = 15)
	private String picHeight;
	/**图片类型*/
	@Excel(name = "图片类型", width = 15)
    private String picType;
	/**排序*/
    @Excel(name = "排序", width = 15)
	private Integer sort;
	/**删除标记*/
    @Excel(name = "删除标记", width = 15)
	@TableLogic
	private String delFlag;
	/**创建人*/
    @Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
    @Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
}
